package com.pcjavanet.collect.mes.to;

import java.util.Date;

/**
 * As bean for map Pareto data
 * @author jack
 *
 */
public class SpcParetoException {
	
	private int paretoExceptionKey;
	
	private Date createDate;
	
	private int status;
	
	private String description ;
	
	private String ocap ; 
	
	private long createTime ; 
	
	private String createTimeStr ; 
	
 	public String getCreateTimeStr() {
		return createTimeStr;
	}
	public void setCreateTimeStr(String createTimeStr) {
		this.createTimeStr = createTimeStr;
	}
	public long getCreateTime() {
		return createTime;
	}
	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}
	public int getParetoExceptionKey() {
		return paretoExceptionKey;
	}
	public String getOcap() {
		return ocap;
	}
	public void setOcap(String ocap) {
		this.ocap = ocap;
	}
	public void setParetoExceptionKey(int paretoExceptionKey) {
		this.paretoExceptionKey = paretoExceptionKey;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("SpcParetoException [paretoExceptionKey=");
		builder.append(paretoExceptionKey);
		builder.append(", createDate=");
		builder.append(createDate);
		builder.append(", status=");
		builder.append(status);
		builder.append(", description=");
		builder.append(description);
		builder.append(", ocap=");
		builder.append(ocap);
		builder.append(", createTime=");
		builder.append(createTime);
		builder.append(", createTimeStr=");
		builder.append(createTimeStr);
		builder.append("]");
		return builder.toString();
	}

}
